package com.ios.service;

import com.ios.dto.PsychologicalQuestionExecution;
import com.ios.dto.PsychologicalTestExecution;
import com.ios.dto.PsychologicalTestTypeExecution;
import com.ios.dto.PsychologyResultExecution;
import org.springframework.stereotype.Service;

@Service
public interface IPsychologicalService {
    /**
    *@Author:WenTao
    *@Description:展示所有测试的类别
    *@Date:10:59 2018/7/20
    */
    PsychologicalTestTypeExecution ShowAllType();

    /**
    *@Author:WenTao
    *@Description:展示某一类型所有测试
    *@Date:11:32 2018/7/20
    */
    PsychologicalTestExecution ShowTestByType(String typename);

    /**
    *@Author:WenTao
    *@Description:展示所有测试
    *@Date:14:21 2018/7/20
    */
    PsychologicalTestExecution ShowAllTest();

    /**
    *@Author:WenTao
    *@Description:根据测试id显示问题
    *@Date:15:10 2018/7/20
    */
    PsychologicalQuestionExecution ShowQuestion(int test_id);

    /**
    *@Author:WenTao
    *@Description:根据选项统计分数并给出结果
    *@Date:15:42 2018/7/20
    */
    PsychologyResultExecution TestResult(String answer,int test_id);
}
